<?php echo $this->Session->flash(); ?>
<h1 align="center">PROPONENTE PROYECTO <?php echo$cod; ?></h1>


<table  id="tabla" class="tabla" width="100%" >
    <thead>
        <tr>
            <th>Proyecto</th>
            <th>Identificacion</th>
            <th>Nombre</th>
            <th colspan="2">Opciones</th>

        </tr>
    </thead>
    <tbody>
        <?php foreach ($proposers as $prop): ?>
            <tr>
                <td><?php echo $cod ?></td>
                <td><?php echo $prop['Proposer']['numero_identificacion'] ?></td>
                <td><?php echo $prop['Proposer']['nombre'] ?></td>
                <td><?php echo $ajax->link("Editar", array('controller' => 'Proposers', "action" => "edit", $prop['Proposer']['id']), array('update' => 'content', 'complete' => 'cargar()', 'indicator' => 'loading')) ?></td>
                <td><?php echo $ajax->link("Borrar", array('controller' => 'Proposers', "action" => "delete", $prop['Proposer']['id']), array('update' => 'content', 'complete' => 'cargar()', 'indicator' => 'loading'), 'Desea borrar el registro?', false) ?></td>
            </tr>
        <?php endforeach; ?>
    </tbody>
</table>
<br>
<br>
<legend><?php if (count($proposers) == 0)
            echo $ajax->link("Agregar Proponente", array('controller' => 'Proposers', "action" => "add"), array('update' => 'content', 'complete' => 'cargar()', 'indicator' => 'loading')) ?></legend>





